﻿import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// const Demo = Vue.extend({})
// const d = new Demo()
// Vue.prototype.x = d

// console.log(Vue.prototype)



new Vue({
    beforeCreate() {
        Vue.prototype.$bus = this//安装全局事件总线
    },
    render: h => h(App)
    
}).$mount("#app")